package com.uml.umlwork.dto.teacher;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import javax.validation.constraints.NotNull;

/**
 * @author wuze
 * @desc ...
 * @date 2021-01-04 13:09:50
 */
@ApiModel("培训师修改信息DTO")
@Getter
@Setter
@NoArgsConstructor
public class UmlTeacherDTO {
    @ApiModelProperty("培训师id")
    String id;

    @ApiModelProperty(value = "年龄")
    @NotNull(message = "年龄不能为空")
    private Integer age;

    @ApiModelProperty(value = "性别")
    @NotNull(message = "性别不能为空")
    private String gender;

    @ApiModelProperty(value = "邮箱")
    @NotNull(message = "邮箱不能为空")
    private String email;





}
